#ifndef FRAMERATE_H_
#define FRAMERATE_H_
#include "SDL/SDL.h"
#include <string>
#include "SDL/SDL_ttf.h"
#include "SDL/SDL_image.h"
#include <sstream>
#include <iostream>
#include "../ScreenHelpers/ScreenHelper.h"
#endif /*FRAMERATE_H_*/
using namespace std;

class FrameRate {
public:
	FrameRate();
	string convertInt(int conv);
	void applyFrames(int ticks ,int s, int p, SDL_Surface* baseSurface);
	void closeFont();

private:
	TTF_Font* ttf;
	SDL_Surface* frameRateTtf;
	SDL_Surface* timerTtf;
	SDL_Color textColour;
};

